﻿<Window x:Class="ManifestManaged.Views.SumWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Manifest : Managed > Interop > COM" Height="183" Width="506" ResizeMode="NoResize">

    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="2*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="35"/>
            <RowDefinition Height="35"/>
            <RowDefinition Height="35"/>
            <RowDefinition Height="35"/>
        </Grid.RowDefinitions>

        <Label Grid.Column="0" Grid.Row="0" >A</Label>
        <TextBox Grid.Column="1" Grid.Row="0" Text="{Binding Path=A}" Margin="5" ></TextBox>

        <Label Grid.Column="0" Grid.Row="1" >B</Label>
        <TextBox Grid.Column="1" Grid.Row="1" Text="{Binding Path=B}" Margin="5" ></TextBox>

        <Button Grid.Column="0" Grid.Row="2" Content="Sum" Click="ButtonSum_Click" Margin="5"/>
        <TextBox Grid.Column="1" Grid.Row="2" Text="{Binding Path=Result}" Margin="5" ></TextBox>

        <Button Grid.Column="0" Grid.Row="3" Content="Sum Async" Click="ButtonSumAsync_Click" Margin="5"/>
        <TextBox Grid.Column="1" Grid.Row="3" Text="{Binding Path=ResultAsync}" Margin="5" ></TextBox>

    </Grid>
</Window>
